<?php
if(!defined('IN_BSTO')){ die('[ERROR] You cannot load this page directly !!!'); }
/**
 * Registry class
 * 
 * @package    application
 * 
 * @author     
 * @copyright  (c) pyco24
 * @since      07.2011 
 * 
 * @version    1.0
 */
 
Class Registry 
{    
    private $vars = array();
    
    /**
     * set undefined vars
     */
    public function __set($index, $value)
    {
        $this->vars[$index] = $value;
    }
    
    /**
     * get vars
     */
    public function __get($index)
    {
        return $this->vars[$index];
    }


}

?>
